package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap42 extends OSMap
	{
		public function OSMap42()
		{
			super();

			var ground:OSGround = new OSGround(0, 840, 180, 20, 45, false);
			ground.setBorders(true, true);
			addBackground(ground);

			ground = new OSGround(160, 900, 100, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([4]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(240, 960, 180, 20, 45, false);
			ground.setBorders(true, true);
			addBackground(ground);

			ground = new OSGround(0, 780, 20, 300, 0, false);
			ground.setNoErosionDown([14]);
			ground.setNoErosionLeft([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]);
			ground.setNoErosionRight([0, 13, 14]);
			ground.erode();
			add(ground);

			ground = new OSGround(20, 1040, 940, 40, 0, false);
			ground.setNoErosionUp([18]);
			ground.setNoErosionDown([47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93]);
			ground.setNoErosionLeft([0, 47]);
			ground.setNoErosionRight([46, 93]);
			ground.erode();
			add(ground);

		}
	}
}
